<h2>graphsvg.js</h2>
<p>SVG-based RDF Graph viewer.</p>
<hr/>

<h3>Objects</h3>
<ul>
	<li><a href="#graphsvg">OAT.GraphSVG(div, vertices, edges, optionsObject)</a></li>
</ul>

<h3>CSS Classes</h3>
<ul>
	<li>.rdf_sidebar</li>
</ul>

<hr/>

<h3><a name="graphsvg">OAT.GraphSVG(div, vertices, edges, optionsObject)</a></h3>
<p>Creates the Graph Viewer inside <em>div</em>. <em>vertices</em> is an array of vertex objects: 
<code>{ name: "node_label", type: 0/1  } // type: URI/non-URI</code>; <em>edges</em> is an array of edge objects:
<code>{ vertex1: vertex_object, vertex2: vertex_objects, name: "edge_label" }</code>. Available options:</p>

<ul>
	<li>imagePath - path with images for tree in sidebar</li>
	<li>vertexColor - string</li>
	<li>edgeColor - string</li>
	<li>backgroundColor - string</li>
	<li>vertexSize - int</li>
	<li>vertexPadding - int</li>
	<li>padding - int</li>
	<li>edgeSize - int</li>
	<li>type - int; 0 - all nodes at once, 1 - equal distances</li>
	<li>placement - int; 0 - random, 1 - circle</li>
	<li>distance - int; 0 - close, 1 - medim, 2 - far</li>
	<li>projection - int; 0 - planar, 1 - spherical</li>
	<li>labels - int; 0 - only element, 1-4 - distances</li>
	<li>show - int; 0 - all, 1-4 - distances</li>
</ul>